package com.hngates.project.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hngates.common.annotation.Excel;
import com.hngates.common.core.domain.BaseEntity;

/**
 * 单位信息对象 construction_unit
 * 
 * @author ruoyi
 * @date 2022-06-24
 */
public class ConstructionUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitId;

    /** 单位负责人 */
    @Excel(name = "单位负责人")
    private String leader;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 保函金额 */
    @Excel(name = "保函金额")
    private BigDecimal lgMoney;

    /** 保函可用余额 */
    @Excel(name = "保函可用余额")
    private BigDecimal lgBalance;

    /** 保函有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保函有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lgDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitId(String unitId)
    {
        this.unitId = unitId;
    }

    public String getUnitId()
    {
        return unitId;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setLgMoney(BigDecimal lgMoney) 
    {
        this.lgMoney = lgMoney;
    }

    public BigDecimal getLgMoney() 
    {
        return lgMoney;
    }
    public void setLgBalance(BigDecimal lgBalance) 
    {
        this.lgBalance = lgBalance;
    }

    public BigDecimal getLgBalance() 
    {
        return lgBalance;
    }
    public void setLgDate(Date lgDate) 
    {
        this.lgDate = lgDate;
    }

    public Date getLgDate() 
    {
        return lgDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitId", getUnitId())
            .append("leader", getLeader())
            .append("phone", getPhone())
            .append("lgMoney", getLgMoney())
            .append("lgBalance", getLgBalance())
            .append("lgDate", getLgDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }


}
